package org.particles.common;

import java.net.URL;

public class CommonServiceImpl implements CommonService {

	/**
	 * @param imageName name like 'image'
	 * @return path like 'path/image.gif'
	 */
	@Override
	public URL findImageUrlByName(final String imageName) {
		return getClass().getResource("/image/" + imageName + ".gif");
	}

}
